<?php
    // Start session
    session_start();
    // Check the session
    if(!isset($_SESSION['user_id']) || $_SESSION['user_id'] == '')
    {
        header('Location:index.php?status=EXP');
        die();
    }
    // Revisar que solo lo puede ver si es admin
    // . . .
?>
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Administrador</title>
    <!-- Bootstrap core CSS -->
    <link href="bootstrap/css/bootstrap.css" rel="stylesheet">
  </head>
  <body>
    <!-- Main bar on top -->
    <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <div class="navbar-header">
            <a class="navbar-brand" href="#"><span class="glyphicon glyphicon-home"></span> Menú principal </a>
        </div>
        <div class="navbar-header navbar-right">
            <a href="index.php" class="btn btn-info" role="button">Cerrar Sesión</a>
        </div>
    </div>
    <!-- Main jumbotron -->
    <div class="jumbotron">
      <div class="container">
        <h1><span class="glyphicon glyphicon-wrench"></span> Configurar Usuarios</h1>
        <p>Agregar y editar nuevos usuarios del sistema.</p>
        <p><a href="adminUsuario.php" class="btn btn-primary btn-lg">Configurar Usuarios &raquo;</a></p>
      </div>
    </div>
    <div class="container">
      <hr>
      <footer>
        <p>&copy; <b>Dash HR</b> Derechos Reservados ® 2013</p>
      </footer>
    </div> <!-- /container -->

    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script src="bootstrap/js/bootstrap.min.js"></script>
  </body>
</html>
